package com.lwc.cfdns.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lwc.cfdns.pojo.bo.system.StationBO;
import com.lwc.cfdns.pojo.dto.system.StationDTO;
import com.lwc.cfdns.pojo.entity.SystemStation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lwc.cfdns.pojo.vo.system.StationVO;

import java.util.Map;

/**
 * @author spring
 * @description 针对表【cfdns_system_station(岗位信息表)】的数据库操作Service
 * @createDate 2023-05-26 13:45:01
 */
public interface SystemStationService extends IService<SystemStation> {

    /**
     * 创建
     *
     * @param stationDTO
     * @return Map<String, Object>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/5/26 16:19:02
     */
    Map<String, Object> create(StationDTO stationDTO);

    /**
     * 详情
     *
     * @param id
     * @return StationVO
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/5/26 16:23:39
     */
    StationVO view(Long id);

    /**
     * 修改
     *
     * @param id
     * @param stationDTO
     * @return Map<String, Object>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/5/26 16:26:08
     */
    Map<String, Object> update(Long id, StationDTO stationDTO);

    /**
     * 删除
     *
     * @param ids
     * @return Map<String, Object>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/5/26 16:28:05
     */
    Map<String, Object> delete(String ids);

    /**
     * 列表
     *
     * @param stationBO
     * @return IPage<StationVO>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/5/26 16:32:59
     */
    IPage<StationVO> lists(StationBO stationBO);
}
